

package com.base.commons.tools.security.config.user;



import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * 用户信息
 *
 * @author carl
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
public class UserDetailDTO {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户账号")
    private String userCode;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "用户名称")
    private String userName;
    private String username;

    @ApiModelProperty(value = "用户英文名称")
    private String userNameEn;

    @ApiModelProperty(value = "用户状态 0：停用,1：启用,2:弃用	")
    private Integer userStatus;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "手机号码")
    private String phoneNumber;

    @ApiModelProperty(value = "电话号码")
    private String telPhone;

    @ApiModelProperty(value = "主管姓名")
    private String chargeName;

    @ApiModelProperty(value = "账号类型  0: 普通用户,1 :超级管理员	")
    private Integer accountType;

    @ApiModelProperty(value = "工号")
    private String workCode;
    /**
     * 拥有权限集合
     */
    private Set<String> authorities;
    /**
     * 登录客户端ID
     */
    private String clientId;

}